package com.demo.project_template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 解锁微信记录表
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-08-20 11:48:57
 */
@Data
@TableName("t_unlock_wechat")
@ApiModel(value = "UnlockWechat对象", description = "解锁微信记录表")
public class UnlockWechat implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("被解锁的用户id")
    @TableField("unlock_user_id")
    private Long unlockUserId;

    @ApiModelProperty("被解锁的微信号")
    @TableField("unlock_wechat_account")
    private String unlockWechatAccount;

    @ApiModelProperty(value = "礼物id")
    @TableField(value = "gift_id")
    private Integer giftId;

    @ApiModelProperty(value = "状态",notes = "0=待发送微信，1=已发送微信")
    @TableField(value = "state")
    private String state;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
}
